﻿using System;
using Machine.Entity;
using Machine.Helper;
using SqlSugar;

namespace Machine.Repository
{
    public class AttAttachmentListDAL 
    {
        public SqlSugarClient db;
        public SimpleClient sdb;

        public AttAttachmentListDAL()
        {
            db = SqlSugarFileHelper.GetClient();
            sdb = db.GetSimpleClient();
        }

        public bool Add(AttAttachmentList entity)
        {
            return sdb.Insert(entity);
        }
        
    }
}
